// flyio
window.flyio = require('flyio')

flyio.config.baseURL = '/admin/'
flyio.interceptors.response.use((response) => {
  return response.data
})

// vue
window.Vue = require('vue')
Vue.config.productionTip = false

// router
import router from './router'

// vuex
import store from './store'

// MuseUI
import MuseUI from 'muse-ui'
import 'muse-ui/dist/muse-ui.css'
Vue.use(MuseUI)

// 组件
require('./components/component')

// 插件
require('./plugs');

import App from './App'

new Vue({
  el: '#app',
  template: '<App/>',
  router,
  store,
  components: { App }
})
